
public class AreaCalculator {
	//Area Of square
	double area(double side)
	{
		System.out.println("Calculating Area of Square");
		return 4* side;
	}
	
	//Area Of Rectangle
	double area(double height,double width)
	{
		System.out.println("Calculating Area of Rectangle");
		return height*width;
	}
	
	//Area Of Triangle
	
	double area(double side1,double side2,double side3)
	{
		System.out.println("Calculating Area of Triangle");
		return side1*side2*side3;
	}
}
